package com.pcbly.web.persistence.user;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/
import com.pcbly.web.bean.user.UserSchoolBean;
import com.pcbly.web.persistence.BaseDao;
import com.pcbly.web.components.hibernate.support.Page;

public interface UserSchoolDao extends BaseDao<UserSchoolBean> {  
	
	void removeUserSchoolBeanByIds(String ids) throws Exception;
	
	void removeUserSchoolBeanById(String id) throws Exception;
	
	UserSchoolBean saveUserSchoolBean(UserSchoolBean user) throws Exception;
	
	Page<UserSchoolBean>  findUserSchoolBeanByCond(UserSchoolBean bean,
			Page<UserSchoolBean> page, String orderByName, boolean asc)
			throws Exception;
}